.login {
  .ivu-card-head{
    padding-top: 45px;
    text-align: center;

    p{
      height: 28px;
      font-size: 20px;
      font-weight: 500;
      color: #4A4A4A;
      line-height: 28px;
    }
  }
  .tglc{
    text-align: center;
  }
  ul li{
    list-style: none;
  }
  .fr{
    float: right;
  }
  .fl{
    float: left;
  }
  .over{
    overflow: hidden;
  }
  height: 100%;
  .header{
    height: 60px;
    max-width: 1600px;
    padding: 0 15px;
    margin: auto;
    //line-height: 90px;
    //font-size: 18px;
    //color:#EB9620;
    position: relative;
    z-index: 99;
    img.fl {
      margin-top: 5px;
      width: 210px;
      height: 45px;
    }
  }
  .header-box {
    background: white;
  }
  .container{
    width: 100%;
    height: calc(100% - 110px);
    background-image: url('../../assets/img/bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    .ivu-card{
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
      border-radius: 3px;
      border-color: #eee;
      .ivu-card-head {
        border-bottom-color: transparent;
      }
      .ivu-card-body{
        padding:16px 40px;
      }
      .ivu-input-large{
        height: 38px;
      }
      .ivu-input-prefix{
        background-color:#F3F3F3;
        width: 50px;
        height: 36px;
        margin:1px 0 0 1px;
      }
      .ivu-input-with-prefix{
        padding-left: 60px;
      }
      .ivu-input-wrapper {
        width: 100%;
      }
    }
  }
  &-con {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;

    &-header {
      font-size: 16px;
      font-weight: 300;
      text-align: center;
      padding: 30px 0;
    }

    .form-con {
      padding: 10px 0 0;
    }

    .login-tip {
      font-size: 10px;
      text-align: center;
      color: #c3c3c3;
    }
  }
  .footer-box {
    background-color: white;
  }

  .footer {
    max-width: 1600px;
    padding: 0 15px;
    margin: auto;
    height: 50px;
    position: relative;

    li {
      position: relative;
      margin-right: 34px;

      &:last-child {
        margin-right: 0;
      }
    }
  }
  .footer-con {
    padding: 10px 0;
  }
  .login-qr-box {
    position: absolute;
    will-change: top, left;
    top: 0;
    left: 50%;
    transform: translate(-50%, -100%);
    padding-bottom: 10px;
    transition: all .5s linear;
    opacity: 0;
    display: none;
    z-index: 100;
    &::before {
      content:'';
      display: block;
      position: absolute;
      border: 8px solid transparent;
      border-top-color: #FFFBF5;
      bottom: -4px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 12;
    }
    &::after {
      content:'';
      display: block;
      position: absolute;
      border: 10px solid transparent;
      border-top-color: #EB9620;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      z-index:10
    }
    &.topLeft {
      left: auto;
      right: 0;
      transform: translate(0, -100%);
      &::before {
        left: auto;
        right: 1px;
      }
      &::after {
        left: auto;
        right: -3px;
      }
    }
  }
  .login-qr {
    padding: 9px 18px;
    width: 137px;
    height: 157px;
    background: #FFFBF5;
    border: 2px solid #EB9620;
    border-radius: 4px;
    text-align: center;
    .qr , img {
      margin: auto;
      width: 100px;
      height: 100px;
    }
    .qr-title {
      padding-top: 10px;
      font-size: 12px;
      color: #666;
      line-height: 20px;
    }
  }
  .copyright{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 12px;
    color: #999;
    line-height: 20px;
  }
  .header-title {
    padding-top: 19px;
    line-height: 22px;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
  }
  i.phone{
    display: inline-block;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 18px;
    vertical-align: bottom;
    background-position: center;
    background-image: url('../../assets/img/dianhua.png');
  }
  span.txt{
    font-weight: 400;
    color: #9B9B9B;
    letter-spacing: 1px;
  }
}

.login-social {
  width: 30px;
  height: 30px;
  transition: all .5s linear;

  .login-phone, .login-wx, .login-qq {
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
  }

  .login-phone {
    background-image: url("../../assets/img/phone1.png")
  }

  &:hover .login-phone {
    background-image: url("../../assets/img/phone2.png");
    & + .login-qr-box {
      display: block;
      opacity: 1;
    }
  }

  .login-wx {
    background-image: url("../../assets/img/wx1.png")
  }

  &:hover .login-wx {
    background-image: url("../../assets/img/wx2.png");
    & + .login-qr-box {
      display: block;
      opacity: 1;
    }
  }

  .login-qq {
    background-image: url("../../assets/img/qq1.png")
  }

  &:hover .login-qq {
    background-image: url("../../assets/img/qq2.png");
    & + .login-qr-box {
      display: block;
      opacity: 1;
    }
  }

}
